<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="probiz" tagdir="/WEB-INF/tags/probiz"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="catalog" tagdir="/WEB-INF/tags/catalog"%>
<%@ taglib prefix="content" tagdir="/WEB-INF/tags/content"%>
<html>
	<meta name="keywords"
		content="${(not empty virtualCategory.keywords)?virtualCategory.keywords:virtualCategory.categoryName}" />
	<meta name="description"
		content="${(not empty virtualCategory.metaDescription)?virtualCategory.metaDescription:virtualCategory.categoryDescription}" />
	<head>
		<title>${virtualCategory.categoryName}</title>
	</head>
	<body>
		<%---------------------------------start:专场介绍 -------------------------%>
		<%@ include file="include/virtualCategoryIntro.jspf"%> 
		<%---------------------------------end:  专场介绍 -------------------------%>
		
		<c:choose>
			<c:when test="${sc.totalCount != 0}">		
				
				<form method="get">
					<div class="page_top clearfix">
						<%@include file="include/productListShowStyle.jspf" %>
						<%@ include file="include/productSort.jspf"%>
						<paging:linkPagingTop/>
					</div>
					<%---------------------------------start:商品列表 -------------------------%>
					<div class="shop_window">
						<div class="content clearfix">
							<ul id="listShowStyleBody" class="${(listShowStyle==2)?'row':'grid'}">
								<c:choose>
									<c:when test="${sc.totalCount != 0}">		
										<c:forEach items="${productList}" var="product">
											<%@ include file="include/productItem.jspf"%>
										</c:forEach>
									</c:when>
									<c:otherwise>
										<div class="info">
											<fmt:message key="productList.message.noProductActive" />
										</div>
									</c:otherwise>
								</c:choose>
							</ul>
						</div>
					</div>	
					<%---------------------------------end:  商品列表 -------------------------%>
					<div class="page_bottom clearfix">
						<paging:linkPagingBottom/>
					</div>
				</form>
			</c:when>
			<c:otherwise>
				<div class="msg">
					<h3><fmt:message key="productList.noShelveProduct.msg.title"/></h3>
					<div class="recommend_info">
						<dl>
							<dt><fmt:message key="productList.noShelveProduct.msg.advice"/>：</dt>
							<dd><fmt:message key="productList.noShelveProduct.msg.advice1"/></dd>
							<dd><fmt:message key="productList.noShelveProduct.msg.advice2"/></dd>
						</dl>
					</div>
				</div>
			</c:otherwise>
		</c:choose>		
		
		<c:set var="probizJs_productList" value="true" scope="request"/>
	</body>
</html>
